package com.situ.team5.kzq.recruit.service;

import com.situ.team5.kzq.recruit.dao.MsDAO;
import com.situ.team5.pojo.EngageInterview;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MsServiceImpl implements MsService{

    @Autowired
    MsDAO dao;

    @Override
    public List<Map> yxjlSelectAll() {
        return dao.yxjlSelectAll();
    }


    @Override
    public Map yxjlSelectAllOne(int id) {
        return dao.yxjlSelectAllOne(id);
    }

    @Override
    public void Msinset(EngageInterview e) {
        dao.Msinset(e);
    }

    @Override
    public List<Map> interview_statusSelectAll() {
        return dao.interview_statusSelectAll();
    }

    @Override
    public void interview_sift_update(EngageInterview g) {
        dao.interview_sift_update(g);
    }
    //通过id简历表和面试表连接查询
    @Override
    public Map yxjlSelectAllOne2(int id) {
        return dao.yxjlSelectAllOne2(id);
    }

    @Override
    public void engage_interview_delete(int id) {
        dao.engage_interview_delete(id);
    }

    //修改面试表简历状态
    @Override
    public void update_engage_interview_check_status(int jl_status,int ein_id) {
        dao.update_engage_interview_check_status(jl_status,ein_id);
    }
}
